<script>
export default {
  name: 'test',
  props: {},
  methods: {
    sayHello() {
      this.$toast('hello')
    }
  },
  render() {
    return (
      <div vOn:click={this.sayHello} class="haha">
        哈哈
      </div>
    )
  }
}
</script>

<style lang="less">
.haha {
  color: blue;
}
</style>
